package com.deli.autoconfig;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Auther: xudeli
 * @Date: 2018/9/17/017 21
 * @Description:
 */
@ConfigurationProperties(prefix = "xuxu.hello")
public class HelloProperties {

    private String prefix;
    private String suffix;

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    @Override
    public String toString() {
        return "HelloProperties{" +
                "prefix='" + prefix + '\'' +
                ", suffix='" + suffix + '\'' +
                '}';
    }
}
